package ch02;

class E07_CastingEx {
	public static void main(String[] args) {
		double d = 100.0;
		int i = 100;
		int result = i + (int)d;
		
		// after casting, no changes.
		System.out.println(d); // 100.0  
		System.out.println(i); // 100
		System.out.println(result); // 200
	}
}